package com.briup.jd2407cms.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.briup.jd2407cms.domain.Comment;
import com.baomidou.mybatisplus.extension.service.IService;
import com.briup.jd2407cms.domain.DTO.CommentDeleteParam;
import com.briup.jd2407cms.domain.DTO.CommentQueryParam;
import com.briup.jd2407cms.domain.Subcomment;
import com.briup.jd2407cms.domain.extend.CommentExtend;

import java.util.List;

/**
* @author jay
* @description 针对表【cms_comment】的数据库操作Service
* @createDate 2024-11-18 14:40:14
*/
public interface CommentService extends IService<Comment> {
    IPage<CommentExtend> page(CommentQueryParam commentQueryParam);

    boolean saveComment(Comment comment);

    boolean deleteById(CommentDeleteParam param);

    void deleteInBatch(List<CommentDeleteParam> list);
}
